{mfdeclre.i}

DEFINE VARIABLE srcFile AS CHARACTER.
DEFINE VARIABLE dstDir AS CHARACTER.

srcFile = "\\qadapp\guicli\ch\hk\ocx\TreeView4GL.*".

dstDir = OS-GETENV("SystemRoot").
IF dstDir = ? OR dstDir = "" THEN
    dstDir = "c:".

OS-COMMAND NO-CONSOLE VALUE("copy " + srcFile + " " + dstDir).
/*
OS-COMMAND VALUE("regsvr32.exe " + dstDir + "\Treeview4GL.ocx").
*/
